package com.lazyfish.list;

import com.lazyfish.birds.Flyable;

import java.util.List;

public class Birds {
    private List<Flyable> list;
    Birds(List<Flyable> list){
        super();
        this.list= list;
    }
    Birds(){}
    @Override
    public String toString() {
        return "Birds{" +
                "list=" + list +
                '}';
    }

    public List<Flyable> getList() {
        return list;
    }
}